Semiconductor device and method for producing semiconductor device

ABSTRACT

A semiconductor device according to the present invention comprises a first pillar-shaped semiconductor layer, a gate insulating film formed around the first pillar-shaped semiconductor layer, a gate electrode made of a metal and formed around the gate insulating film, a gate line made of a metal and connected to the gate electrode, a second gate insulating film formed around an upper portion of the first pillar-shaped semiconductor layer, a first contact made of a second metal and formed around the second gate insulating film, a second contact which is made of a third metal and which connects an upper portion of the first contact to an upper portion of the first pillar-shaped semiconductor layer, a second diffusion layer formed in a lower portion of the first pillar-shaped semiconductor layer, a pillar-shaped resistance-changing layer formed on the second contact, a reset gate insulating film that surrounds the pillar-shaped resistance-changing layer, and a reset gate that surrounds the reset gate insulating film.

RELATED APPLICATIONS

This application is a continuation application of InternationalApplication No. PCT/JP2013/080721 filed on Nov. 13, 2013, the entirecontent of which is incorporated herein by reference.

TECHNICAL FIELD

The present invention relates to a semiconductor device and a method forproducing a semiconductor device.

BACKGROUND ART

In recent years, a phase-change memory has been developed (e.g., referto PTL 1). A phase-change memory stores information by changing andrecording the resistance of an information storage element of a memorycell.

This is caused by a mechanism in which, when an electric current iscaused to flow between a bit line and a source line by turning ON a celltransistor, heat is generated by a high-resistance element serving as aheater, chalcogenide glass (GST: Ge₂Sb₂Te₅) that is in contact with theheater is melted, and a state transition occurs. When chalcogenide glassis melted at high temperature (high current) and cooled rapidly (theapplication of an electric current is stopped), the chalcogenide glassis brought into an amorphous state (reset operation). When chalcogenideglass is melted at relatively-low high temperature (low current) andcooled slowly (the amount of an electric current is graduallydecreased), the chalcogenide glass is crystallized (set operation).Thus, in the readout, information of “0” or information of “1” isdetermined in accordance with the case where the amount of an electriccurrent that flows between the bit line and the source line is large(low resistance, that is, crystalline state) or the case where theamount is small (high resistance, that is, amorphous state) (e.g., referto PTL 1).

In this case, the reset current is very high, namely, 200 μA. To causesuch a high reset current to flow through the cell transistor, the sizeof a memory cell needs to be considerably large. To cause a high currentto flow, a selection element such as a bipolar transistor or a diode canbe used (e.g., refer to PTL 1).

Diodes are two-terminal elements. Therefore, in the selection of memorycells, if a single source line is selected, electric currents of allmemory cells connected to the single source line flow through the singlesource line. As a result, the IR drop increases due to the resistance ofthe source line.

Bipolar transistors are three-terminal elements. In bipolar transistors,an electric current flows through a gate and thus it is difficult toconnect many transistors to word lines.

A surrounding gate transistor (hereafter referred to as “SGT”) having astructure in which a source, a gate, and a drain are arranged verticallywith respect to a substrate and a gate electrode surrounds apillar-shaped semiconductor layer has been proposed (e.g., refer to PTL2). Since a source, a gate, and a drain are arranged vertically withrespect to a substrate, a small cell area can be realized.

In known MOS transistors, a metal gate last process in which a metalgate is formed after a high-temperature process has been employed inactual products in order to perform both a metal gate process and ahigh-temperature process (NPL 1). A polysilicon gate is formed, aninterlayer insulating film is deposited, the polysilicon gate is exposedby performing chemical mechanical polishing, the polysilicon gate isetched, and then a metal is deposited. Therefore, in order to performboth the metal gate process and the high-temperature process, such ametal gate last process in which a metal gate is formed after ahigh-temperature process also needs to be employed in SGTs.

In the metal gate last process, a polysilicon gate is formed and then adiffusion layer is formed by ion implantation. In SGTs, an upper portionof a pillar-shaped silicon layer is covered with a polysilicon gate, andthus some schemes are required.

As the width of a silicon pillar decreases, it becomes more difficult tomake an impurity be present in the silicon pillar because the density ofsilicon is 5×10²²/cm³.

In known SGTs, it has been proposed that the channel concentration isset to be a low impurity concentration of 10 ¹⁷ cm⁻³ or less and thethreshold voltage is determined by changing the work function of a gatematerial (e.g., refer to PTL 3).

It has been disclosed that, in planar MOS transistors, the sidewall ofan LDD region is formed of a polycrystalline silicon having the sameconductivity type as a low-concentration layer, surface carriers of theLDD region are induced by the difference in work function, and thus theimpedance of the LDD region can be reduced compared with LDD MOStransistors with an oxide film sidewall (e.g., refer to PTL 4). It hasalso been disclosed that the polycrystalline silicon sidewall iselectrically insulated from a gate electrode. The drawings show that thepolycrystalline silicon sidewall is insulated from a source and a drainby an interlayer insulating film.

CITATION LIST Patent Literature

PTL 1: Japanese Unexamined Patent Application Publication No.2012-204404

PTL 2: Japanese Unexamined Patent Application Publication No.2004-356314

PTL 3: Japanese Unexamined Patent Application Publication No.2004-356314

PTL 4: Japanese Unexamined Patent Application Publication No. 11-297984

Non Patent Literature

NPL 1: IEDM 2007 K. Mistry et. al, pp 247-250

SUMMARY OF THE INVENTION

Accordingly, it is an object to provide a memory structure including aresistance-changing layer, which enables a reset operation with a resetgate, and a method for producing the memory structure.

A semiconductor device of the present invention includes a firstpillar-shaped semiconductor layer; a gate insulating film formed aroundthe first pillar-shaped semiconductor layer; a gate electrode made of ametal and formed around the gate insulating film; a gate line made of ametal and connected to the gate electrode; a second gate insulating filmformed around an upper portion of the first pillar-shaped semiconductorlayer; a first contact made of a second metal and formed around thesecond gate insulating film; a second contact which is made of a thirdmetal and which connects an upper portion of the first contact to anupper portion of the first pillar-shaped semiconductor layer; a seconddiffusion layer formed in a lower portion of the first pillar-shapedsemiconductor layer; a pillar-shaped resistance-changing layer formed onthe second contact; a reset gate insulating film that surrounds thepillar-shaped resistance-changing layer; and a reset gate that surroundsthe reset gate insulating film.

A lower electrode is disposed below the pillar-shapedresistance-changing layer.

The reset gate is made of titanium nitride.

The reset gate insulating film is a nitride film.

The lower electrode is made of titanium nitride.

The resistance-changing layer is reset by causing an electric current toflow through the reset gate.

The second metal of the first contact has a work function of 4.0 eV to4.2 eV.

The second metal of the first contact has a work function of 5.0 eV to5.2 eV.

The semiconductor device includes a fin-shaped semiconductor layerformed on a semiconductor substrate and a first insulating film formedaround the fin-shaped semiconductor layer, wherein the firstpillar-shaped semiconductor layer is formed on the fin-shapedsemiconductor layer, the gate insulating film is formed around the gateelectrode and the gate line and on bottom portions of the gate electrodeand the gate line, the gate line extends in a direction perpendicular toa direction in which the fin-shaped semiconductor layer extends, and thesecond diffusion layer is further formed in the fin-shaped semiconductorlayer.

The second diffusion layer is further formed in the semiconductorsubstrate.

The semiconductor device includes a contact line which is parallel tothe gate line and is connected to the second diffusion layer.

The semiconductor device includes the fin-shaped semiconductor layerformed on the semiconductor substrate; the first insulating film formedaround the fin-shaped semiconductor layer; a second pillar-shapedsemiconductor layer formed on the fin-shaped semiconductor layer; and acontact electrode made of a metal and formed around the secondpillar-shaped semiconductor layer, wherein the contact line is made of ametal and extends in a direction perpendicular to a direction in whichthe fin-shaped semiconductor layer connected to the contact electrodeextends, the second diffusion layer is formed in the fin-shapedsemiconductor layer and in a lower portion of the second pillar-shapedsemiconductor layer, and the contact electrode is connected to thesecond diffusion layer.

An outer width of the gate electrode is equal to a width of the gateline, and a width of the first pillar-shaped semiconductor layer in adirection perpendicular to a direction in which the fin-shapedsemiconductor layer extends is equal to a width of the fin-shapedsemiconductor layer in a direction perpendicular to a direction in whichthe fin-shaped semiconductor layer extends.

The gate insulating film is formed between the second pillar-shapedsemiconductor layer and the contact electrode.

A width of the second pillar-shaped semiconductor layer in a directionperpendicular to a direction in which the fin-shaped semiconductor layerextends is equal to a width of the fin-shaped semiconductor layer in adirection perpendicular to a direction in which the fin-shapedsemiconductor layer extends.

The gate insulating film is formed around the contact electrode and thecontact line.

An outer width of the contact electrode is equal to a width of thecontact line.

The first pillar-shaped semiconductor layer is formed on a semiconductorsubstrate, the gate insulating film is formed around the gate electrodeand the gate line and on bottom portions of the gate electrode and thegate line, and the second diffusion layer is further formed in thesemiconductor substrate.

A method for producing a semiconductor device according to the presentinvention includes a first step of forming a fin-shaped semiconductorlayer on a semiconductor substrate and forming a first insulating filmaround the fin-shaped semiconductor layer; after the first step, asecond step of forming a first pillar-shaped semiconductor layer, afirst dummy gate constituted by a first polysilicon, a secondpillar-shaped semiconductor layer, and a second dummy gate constitutedby a first polysilicon; after the second step, a third step of forming athird dummy gate and a fourth dummy gate on side walls of the firstdummy gate, the first pillar-shaped semiconductor layer, the seconddummy gate, and the second pillar-shaped semiconductor layer; after thethird step, a fourth step of forming a second diffusion layer in anupper portion of the fin-shaped semiconductor layer, a lower portion ofthe first pillar-shaped semiconductor layer, and a lower portion of thesecond pillar-shaped semiconductor layer; after the fourth step, a fifthstep of depositing an interlayer insulating film, exposing upperportions of the first dummy gate, the second dummy gate, the third dummygate, and the fourth dummy gate, removing the first dummy gate, thesecond dummy gate, the third dummy gate, and the fourth dummy gate,forming a gate insulating film around the first pillar-shapedsemiconductor layer and the second pillar-shaped semiconductor layer,removing a portion of the gate insulating film located in a periphery ofa bottom portion of the second pillar-shaped semiconductor layer,depositing a first metal, exposing an upper portion of the firstpillar-shaped semiconductor layer and an upper portion of the secondpillar-shaped semiconductor layer, forming a gate electrode and a gateline around the first pillar-shaped semiconductor layer, and forming acontact electrode and a contact line around the second pillar-shapedsemiconductor layer; after the fifth step, a sixth step of depositing asecond gate insulating film around the first pillar-shaped semiconductorlayer, on the gate electrode and the gate line, around the secondpillar-shaped semiconductor layer, and on the contact electrode and thecontact line, depositing a second metal, exposing an upper portion ofthe first pillar-shaped semiconductor layer and an upper portion of thesecond pillar-shaped semiconductor layer, removing a portion of thesecond gate insulating film on the first pillar-shaped semiconductorlayer, depositing a third metal, and etching portions of the third metaland the second metal to form a first contact in which the second metalsurrounds an upper side wall of the first pillar-shaped semiconductorlayer and a second contact which connects an upper portion of the firstcontact to an upper portion of the first pillar-shaped semiconductorlayer; and after the sixth step, a seventh step of depositing a secondinterlayer insulating film and planarizing the second interlayerinsulating film to expose an upper portion of the second contact,forming a pillar-shaped resistance-changing layer and a lower electrode,forming a reset gate insulating film so that the reset gate insulatingfilm surrounds the pillar-shaped resistance-changing layer and the lowerelectrode, and forming a reset gate.

The second step includes forming a second insulating film around thefin-shaped semiconductor layer; depositing a first polysilicon on thesecond insulating film and planarizing the first polysilicon; forming asecond resist for forming a first gate line, a first pillar-shapedsemiconductor layer, a first contact line, and a second pillar-shapedsemiconductor layer so that the second resist extends in a directionperpendicular to a direction in which the fin-shaped semiconductor layerextends; and etching the first polysilicon, the second insulating film,and the fin-shaped semiconductor layer to form a first pillar-shapedsemiconductor layer, a first dummy gate constituted by the firstpolysilicon, a second pillar-shaped semiconductor layer, and a seconddummy gate constituted by the first polysilicon.

The method for producing a semiconductor device further includes, afterdepositing the first polysilicon on the second insulating film andplanarizing the first polysilicon, forming a third insulating film onthe first polysilicon.

The method for producing a semiconductor device includes a third stepof, after the second step, forming a fourth insulating film around thefirst pillar-shaped semiconductor layer, the second pillar-shapedsemiconductor layer, the first dummy gate, and the second dummy gate,depositing a second polysilicon around the fourth insulating film, andforming a third dummy gate and a fourth dummy gate by etching the secondpolysilicon so that the second polysilicon is left on side walls of thefirst dummy gate, the first pillar-shaped semiconductor layer, thesecond dummy gate, and the second pillar-shaped semiconductor layer.

The method for producing a semiconductor device includes a fourth stepof forming a second diffusion layer in an upper portion of thefin-shaped semiconductor layer and lower portions of the firstpillar-shaped semiconductor layer and the second pillar-shapedsemiconductor layer, forming a fifth insulating film around the thirddummy gate and the fourth dummy gate, etching the fifth insulating filmto make the fifth insulating film remain as a side wall, and forming ametal and semiconductor compound in an upper portion of the seconddiffusion layer.

The method for producing a semiconductor device includes a fifth stepof, after the fourth step, depositing an interlayer insulating film,performing chemical mechanical polishing to expose upper portions of thefirst dummy gate, the second dummy gate, the third dummy gate, and thefourth dummy gate, removing the first dummy gate, the second dummy gate,the third dummy gate, and the fourth dummy gate, removing the secondinsulating film and the fourth insulating film, forming a gateinsulating film around the first pillar-shaped semiconductor layer andthe second pillar-shaped semiconductor layer and on an inner side of thefifth insulating film, forming a third resist for removing a portion ofthe gate insulating film located in a periphery of a bottom portion ofthe second pillar-shaped semiconductor layer, removing the portion ofthe gate insulating film located in the periphery of the bottom portionof the second pillar-shaped semiconductor layer, and depositing a firstmetal and etching back the first metal to expose an upper portion of thefirst pillar-shaped semiconductor layer and an upper portion of thesecond pillar-shaped semiconductor layer, to form a gate electrode and agate line around the first pillar-shaped semiconductor layer, and toform a contact electrode and a contact line around the secondpillar-shaped semiconductor layer.

According to the present invention, there can be provided a memorystructure including a resistance-changing layer, which enables a resetoperation with a reset gate, and a method for producing the memorystructure.

When the pillar-shaped resistance-changing layer, the reset gateinsulating film that surrounds the pillar-shaped resistance-changinglayer, and the reset gate that surrounds the reset gate insulating filmare included, heat is generated in the reset gate serving as a heater asa result of current flow through the reset gate. This melts chalcogenideglass (GST: Ge₂Sb₂Te₅) that is in contact with the heater and thus astate transition occurs.

Since the reset gate surrounds the pillar-shaped resistance-changinglayer, the pillar-shaped resistance-changing layer is easily heated.

Since a reset operation is performed as a result of current flow throughthe reset gate, a high current is not necessarily caused to flow througha selection element. The selection element may be a selection elementthrough which only a low current for a set operation can be caused toflow.

The second gate insulating film formed around the upper portion of thepillar-shaped semiconductor layer, the first contact made of a secondmetal and formed around the second gate insulating film, and the secondcontact which is made of a third metal and which connects the upperportion of the first contact to the upper portion of the pillar-shapedsemiconductor layer can provide an SGT having a structure in which theupper portion of the pillar-shaped semiconductor layer is made tofunction as an n-type semiconductor layer or a p-type semiconductorlayer by a difference in work function between metal and semiconductor.Thus, a step of forming a diffusion layer in the upper portion of thepillar-shaped semiconductor layer is omitted.

The gate electrode is made of a metal and the gate line is made of ametal. Furthermore, there are the first contact made of a metal andformed around the second gate insulating film and the second contactthat connects the upper portion of the first contact to the upperportion of the pillar-shaped semiconductor layer. Since a large amountof metal is used, the cooling can be accelerated. In addition, since thegate insulating film is formed around the gate electrode and the gateline and on bottom portions of the gate electrode and the gate line, ametal gate is formed through a gate last process. Therefore, both ametal gate process and a high-temperature process can be performed.

The semiconductor device includes a fin-shaped semiconductor layerformed on a semiconductor substrate, a first insulating film formedaround the fin-shaped semiconductor layer, the first pillar-shapedsemiconductor layer formed on the fin-shaped semiconductor layer, andthe gate insulating film formed around the gate electrode and the gateline and on bottom portions of the gate electrode and the gate line. Thegate electrode is made of a metal and the gate line is made of a metal,the gate line extending in a direction perpendicular to a direction inwhich the fin-shaped semiconductor layer extends. The second diffusionlayer is further formed in the fin-shaped semiconductor layer. The outerwidth of the gate electrode is equal to the width of the gate line. Thewidth of the first pillar-shaped semiconductor layer is equal to thewidth of the fin-shaped semiconductor layer. Thus, the fin-shapedsemiconductor layer, the pillar-shaped semiconductor layer, the gateelectrode, and the gate line of this semiconductor device are formedthrough a self-aligned process with two masks. This can reduce thenumber of steps.

The presence of the contact line which is parallel to the gate line andis connected to the second diffusion layer can reduce the resistance ofa source line and can suppress an increase in the source voltage causedby electric current at the time of the set operation. Regarding thecontact line which is parallel to the gate line, one contact line ispreferably disposed for every 2 memory cells, 4 memory cells, 8 memorycells, 16 memory cells, 32 memory cells, or 64 memory cells arranged ina row in a direction in which the bit line extends.

A structure constituted by the second pillar-shaped semiconductor layer,the contact electrode formed around the second pillar-shapedsemiconductor layer, and the contact line is the same as a transistorstructure, except that the contact electrode is connected to the seconddiffusion layer. All source lines which extend in a direction parallelto a direction in which the gate line extends are connected to thecontact line. This can reduce the number of steps.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1( a) is a plan view of a semiconductor device according to thepresent invention. FIG. 1( b) is a sectional view taken along line X-X′of FIG. 1( a). FIG. 1( c) is a sectional view taken along line Y-Y′ ofFIG. 1( a).

FIG. 2( a) is a plan view of a semiconductor device according to thepresent invention. FIG. 2( b) is a sectional view taken along line X-X′of FIG. 2( a). FIG. 2( c) is a sectional view taken along line Y-Y′ ofFIG. 2( a).

FIG. 3( a) is a plan view of a semiconductor device according to thepresent invention. FIG. 3( b) is a sectional view taken along line X-Xof FIG. 3( a). FIG. 3( c) is a sectional view taken along line Y-Y′ ofFIG. 3( a).

FIG. 4( a) is a plan view showing a method for producing a semiconductordevice according to the present invention. FIG. 4( b) is a sectionalview taken along line X-X′ of FIG. 4( a). FIG. 4( c) is a sectional viewtaken along line Y-Y′ of FIG. 4( a).

FIG. 5( a) is a plan view showing a method for producing a semiconductordevice according to the present invention. FIG. 5( b) is a sectionalview taken along line X-X′ of FIG. 5( a). FIG. 5( c) is a sectional viewtaken along line Y-Y′ of FIG. 5( a).

FIG. 6( a) is a plan view showing a method for producing a semiconductordevice according to the present invention. FIG. 6( b) is a sectionalview taken along line X-X′ of FIG. 6( a). FIG. 6( c) is a sectional viewtaken along line Y-Y′ of FIG. 6( a).

FIG. 7( a) is a plan view showing a method for producing a semiconductordevice according to the present invention. FIG. 7( b) is a sectionalview taken along line X-X′ of FIG. 7( a). FIG. 7( c) is a sectional viewtaken along line Y-Y′ of FIG. 7( a).

FIG. 8( a) is a plan view showing a method for producing a semiconductordevice according to the present invention. FIG. 8( b) is a sectionalview taken along line X-X′ of FIG. 8( a). FIG. 8( c) is a sectional viewtaken along line Y-Y′ of FIG. 8( a).

FIG. 9( a) is a plan view showing a method for producing a semiconductordevice according to the present invention. FIG. 9( b) is a sectionalview taken along line X-X′ of FIG. 9( a). FIG. 9( c) is a sectional viewtaken along line Y-Y′ of FIG. 9( a).

FIG. 10( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 10( b) isa sectional view taken along line X-X′ of FIG. 10( a). FIG. 10( c) is asectional view taken along line Y-Y′ of FIG. 10( a).

FIG. 11( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 11( b) isa sectional view taken along line X-X′ of FIG. 11( a). FIG. 11( c) is asectional view taken along line Y-Y′ of FIG. 11( a).

FIG. 12( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 12( b) isa sectional view taken along line X-X′ of FIG. 12( a). FIG. 12( c) is asectional view taken along line Y-Y′ of FIG. 12( a).

FIG. 13( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 13( b) isa sectional view taken along line X-X′ of FIG. 13( a). FIG. 13( c) is asectional view taken along line Y-Y′ of FIG. 13( a).

FIG. 14( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 14( b) isa sectional view taken along line X-X′ of FIG. 14( a). FIG. 14( c) is asectional view taken along line Y-Y′ of FIG. 14( a).

FIG. 15( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 15( b) isa sectional view taken along line X-X′ of FIG. 15( a). FIG. 15( c) is asectional view taken along line Y-Y′ of FIG. 15( a).

FIG. 16( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 16( b) isa sectional view taken along line X-X′ of FIG. 16( a). FIG. 16( c) is asectional view taken along line Y-Y′ of FIG. 16( a).

FIG. 17( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 17( b) isa sectional view taken along line X-X′ of FIG. 17( a). FIG. 17( c) is asectional view taken along line Y-Y′ of FIG. 17( a).

FIG. 18( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 18( b) isa sectional view taken along line X-X′ of FIG. 18( a). FIG. 18( c) is asectional view taken along line Y-Y′ of FIG. 18( a).

FIG. 19( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 19( b) isa sectional view taken along line X-X′ of FIG. 19( a). FIG. 19( c) is asectional view taken along line Y-Y′ of FIG. 19( a).

FIG. 20( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 20( b) isa sectional view taken along line X-X′ of FIG. 20( a). FIG. 20( c) is asectional view taken along line Y-Y′ of FIG. 20( a).

FIG. 21( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 21( b) isa sectional view taken along line X-X′ of FIG. 21( a). FIG. 21( c) is asectional view taken along line Y-Y′ of FIG. 21( a).

FIG. 22( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 22( b) isa sectional view taken along line X-X′ of FIG. 22( a). FIG. 22( c) is asectional view taken along line Y-Y′ of FIG. 22( a).

FIG. 23( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 23( b) isa sectional view taken along line X-X′ of FIG. 23( a). FIG. 23( c) is asectional view taken along line Y-Y′ of FIG. 23( a).

FIG. 24( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 24( b) isa sectional view taken along line X-X′ of FIG. 24( a). FIG. 24( c) is asectional view taken along line Y-Y′ of FIG. 24( a).

FIG. 25( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 25( b) isa sectional view taken along line X-X′ of FIG. 25( a). FIG. 25( c) is asectional view taken along line Y-Y′ of FIG. 25( a).

FIG. 26( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 26( b) isa sectional view taken along line X-X′ of FIG. 26( a). FIG. 26( c) is asectional view taken along line Y-Y′ of FIG. 26( a).

FIG. 27( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 27( b) isa sectional view taken along line X-X′ of FIG. 27( a). FIG. 27( c) is asectional view taken along line Y-Y′ of FIG. 27( a).

FIG. 28( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 28( b) isa sectional view taken along line X-X′ of FIG. 28( a). FIG. 28( c) is asectional view taken along line Y-Y′ of FIG. 28( a).

FIG. 29( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 29( b) isa sectional view taken along line X-X′ of FIG. 29( a). FIG. 29( c) is asectional view taken along line Y-Y′ of FIG. 29( a).

FIG. 30( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 30( b) isa sectional view taken along line X-X′ of FIG. 30( a). FIG. 30( c) is asectional view taken along line Y-Y′ of FIG. 30( a).

FIG. 31( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 31( b) isa sectional view taken along line X-X′ of FIG. 31( a). FIG. 31( c) is asectional view taken along line Y-Y′ of FIG. 31( a).

FIG. 32( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 32( b) isa sectional view taken along line X-X′ of FIG. 32( a). FIG. 32( c) is asectional view taken along line Y-Y′ of FIG. 32( a).

FIG. 33( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 33( b) isa sectional view taken along line X-X′ of FIG. 33( a). FIG. 33( c) is asectional view taken along line Y-Y′ of FIG. 33( a).

FIG. 34( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 34( b) isa sectional view taken along line X-X′ of FIG. 34( a). FIG. 34( c) is asectional view taken along line Y-Y′ of FIG. 34( a).

FIG. 35( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 35( b) isa sectional view taken along line X-X′ of FIG. 35( a). FIG. 35( c) is asectional view taken along line Y-Y′ of FIG. 35( a).

FIG. 36( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 36( b) isa sectional view taken along line X-X′ of FIG. 36( a). FIG. 36( c) is asectional view taken along line Y-Y′ of FIG. 36( a).

FIG. 37( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 37( b) isa sectional view taken along line X-X′ of FIG. 37( a). FIG. 37( c) is asectional view taken along line Y-Y′ of FIG. 37( a).

FIG. 38( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 38( b) isa sectional view taken along line X-X′ of FIG. 38( a). FIG. 38( c) is asectional view taken along line Y-Y′ of FIG. 38( a).

FIG. 39( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 39( b) isa sectional view taken along line X-X′ of FIG. 39( a). FIG. 39( c) is asectional view taken along line Y-Y′ of FIG. 39( a).

FIG. 40( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 40( b) isa sectional view taken along line X-X′ of FIG. 40( a). FIG. 40( c) is asectional view taken along line Y-Y′ of FIG. 40( a).

FIG. 41( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 41( b) isa sectional view taken along line X-X′ of FIG. 41( a). FIG. 41( c) is asectional view taken along line Y-Y′ of FIG. 41( a).

FIG. 42( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 42( b) isa sectional view taken along line X-X′ of FIG. 42( a). FIG. 42( c) is asectional view taken along line Y-Y′ of FIG. 42( a).

FIG. 43( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 43( b) isa sectional view taken along line X-X′ of FIG. 43( a). FIG. 43( c) is asectional view taken along line Y-Y′ of FIG. 43( a).

FIG. 44( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 44( b) isa sectional view taken along line X-X′ of FIG. 44( a). FIG. 44( c) is asectional view taken along line Y-Y′ of FIG. 44( a).

FIG. 45( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 45( b) isa sectional view taken along line X-X′ of FIG. 45( a). FIG. 45( c) is asectional view taken along line Y-Y′ of FIG. 45( a).

FIG. 46( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 46( b) isa sectional view taken along line X-X′ of FIG. 46( a). FIG. 46( c) is asectional view taken along line Y-Y′ of FIG. 46( a).

FIG. 47( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 47( b) isa sectional view taken along line X-X′ of FIG. 47( a). FIG. 47( c) is asectional view taken along line Y-Y′ of FIG. 47( a).

FIG. 48( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 48( b) isa sectional view taken along line X-X′ of FIG. 48( a). FIG. 48( c) is asectional view taken along line Y-Y′ of FIG. 48( a).

FIG. 49( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 49( b) isa sectional view taken along line X-X′ of FIG. 49( a). FIG. 49( c) is asectional view taken along line Y-Y′ of FIG. 49( a).

FIG. 50( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 50( b) isa sectional view taken along line X-X′ of FIG. 50( a). FIG. 50( c) is asectional view taken along line Y-Y′ of FIG. 50( a).

FIG. 51( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 51( b) isa sectional view taken along line X-X′ of FIG. 51( a). FIG. 51( c) is asectional view taken along line Y-Y′ of FIG. 51( a).

FIG. 52( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 52( b) isa sectional view taken along line X-X of FIG. 52( a). FIG. 52( c) is asectional view taken along line Y-Y′ of FIG. 52( a).

FIG. 53( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 53( b) isa sectional view taken along line X-X′ of FIG. 53( a). FIG. 53( c) is asectional view taken along line Y-Y′ of FIG. 53( a).

FIG. 54( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 54( b) isa sectional view taken along line X-X′ of FIG. 54( a). FIG. 54( c) is asectional view taken along line Y-Y′ of FIG. 54( a).

FIG. 55( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 55( b) isa sectional view taken along line X-X′ of FIG. 55( a). FIG. 55( c) is asectional view taken along line Y-Y′ of FIG. 55( a).

FIG. 56( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 56( b) isa sectional view taken along line X-X′ of FIG. 56( a). FIG. 56( c) is asectional view taken along line Y-Y′ of FIG. 56( a).

FIG. 57( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 57( b) isa sectional view taken along line X-X′ of FIG. 57( a). FIG. 57( c) is asectional view taken along line Y-Y′ of FIG. 57( a).

FIG. 58( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 58( b) isa sectional view taken along line X-X′ of FIG. 58( a). FIG. 58( c) is asectional view taken along line Y-Y′ of FIG. 58( a).

FIG. 59( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 59( b) isa sectional view taken along line X-X′ of FIG. 59( a). FIG. 59( c) is asectional view taken along line Y-Y′ of FIG. 59( a).

FIG. 60( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 60( b) isa sectional view taken along line X-X′ of FIG. 60( a). FIG. 60( c) is asectional view taken along line Y-Y′ of FIG. 60( a).

FIG. 61( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 61( b) isa sectional view taken along line X-X′ of FIG. 61( a). FIG. 61( c) is asectional view taken along line Y-Y′ of FIG. 61( a).

FIG. 62( a) is a plan view showing a method for producing asemiconductor device according to the present invention. FIG. 62( b) isa sectional view taken along line X-X′ of FIG. 62( a). FIG. 62( c) is asectional view taken along line Y-Y′ of FIG. 62( a).

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIGS. 1( a), 1(b) and 1(c) show a structure of a semiconductor device.

As shown in FIGS. 1( a), 1(b) and 1(c), memory cells serving assemiconductor devices of the present invention are arranged in a firstrow and a first column, in a first row and a third column, in a secondrow and a first column, and in a second row and a third column, andcontact devices including a contact electrode and a contact line arearranged in a first row and a second column and in a second row and asecond column in order to connect source lines to each other.

The memory cell in the second row and the first column includes afin-shaped semiconductor layer 104 formed on a semiconductor substrate101; a first insulating film 106 formed around the fin-shapedsemiconductor layer 104; a first pillar-shaped semiconductor layer 129formed on the fin-shaped semiconductor layer 104; a gate insulating film162 formed around the first pillar-shaped semiconductor layer 129; agate electrode 168 a made of a metal and formed around the gateinsulating film 162; a gate line 168 b made of a metal and connected tothe gate electrode 168 a, the gate line 168 b extending in a directionperpendicular to a direction in which the fin-shaped semiconductor layer104 extends, the gate insulating film 162 being formed around the gateelectrode 168 a and the gate line 168 b and on bottom portions of thegate electrode 168 a and the gate line 168 b; a second gate insulatingfilm 173 formed around an upper portion of the first pillar-shapedsemiconductor layer 129; a first contact 179 a made of a second metaland formed around the second gate insulating film 173; a second contact183 a which is made of a third metal and which connects an upper portionof the first contact 179 a to an upper portion of the firstpillar-shaped semiconductor layer 129; and a second diffusion layer 143a formed in a lower portion of the first pillar-shaped semiconductorlayer 129, the second diffusion layer 143 a being further formed in thefin-shaped semiconductor layer 104.

A lower electrode 195 a, a pillar-shaped resistance-changing layer 196a, a reset gate insulating film 202, and a reset gate 203 a are formedon the second contact 183 a.

The pillar-shaped resistance-changing layer 196 a is preferably made ofchalcogenide glass (GST: Ge₂Sb₂Te₅).

The reset gate 203 a is made of any material that generates heat throughcurrent flow and is preferably made of titanium nitride.

The reset gate insulating film 202 is any highly thermally conductiveinsulating film and is preferably a nitride film.

The lower electrode 195 a is made of any material that generates heatthrough current flow and is preferably made of titanium nitride.

As a result of current flow through the reset gate 203 a, heat isgenerated in the reset gate 203 a serving as a heater. This melts thepillar-shaped resistance-changing layer 196 a that is in contact withthe heater and thus a state transition can be made to occur.

The memory cell in the second row and the third column includes afin-shaped semiconductor layer 104 formed on a semiconductor substrate101; a first insulating film 106 formed around the fin-shapedsemiconductor layer 104; a first pillar-shaped semiconductor layer 131formed on the fin-shaped semiconductor layer 104; a gate insulating film163 formed around the first pillar-shaped semiconductor layer 131; agate electrode 170 a made of a metal and formed around the gateinsulating film 163; a gate line 170 b made of a metal and connected tothe gate electrode 170 a, the gate line 170 b extending in a directionperpendicular to a direction in which the fin-shaped semiconductor layer104 extends, the gate insulating film 163 being formed around the gateelectrode 170 a and the gate line 170 b and on bottom portions of thegate electrode 170 a and the gate line 170 b, a second gate insulatingfilm 174 formed around an upper portion of the first pillar-shapedsemiconductor layer 131; a first contact 181 a made of a second metaland formed around the second gate insulating film 174; a second contact185 a which is made of a third metal and which connects an upper portionof the first contact 181 a to an upper portion of the firstpillar-shaped semiconductor layer 131; and a second diffusion layer 143a formed in a lower portion of the first pillar-shaped semiconductorlayer 131, the second diffusion layer 143 a being further formed in thefin-shaped semiconductor layer 104.

A lower electrode 195 b, a pillar-shaped resistance-changing layer 196b, a reset gate insulating film 202, and a reset gate 203 b are formedon the second contact 185 a.

The upper portion of the pillar-shaped resistance-changing layer 196 aand the upper portion of the pillar-shaped resistance-changing layer 196b are connected to each other through a bit line 208 a.

The memory cell in the first row and the first column includes afin-shaped semiconductor layer 105 formed on a semiconductor substrate101; a first insulating film 106 formed around the fin-shapedsemiconductor layer 105; a first pillar-shaped semiconductor layer 132formed on the fin-shaped semiconductor layer 105; a gate insulating film162 formed around the first pillar-shaped semiconductor layer 132; agate electrode 168 a made of a metal and formed around the gateinsulating film 162; a gate line 168 b made of a metal and connected tothe gate electrode 168 a, the gate line 168 b extending in a directionperpendicular to a direction in which the fin-shaped semiconductor layer105 extends, the gate insulating film 162 being formed around the gateelectrode 168 a and the gate line 168 b and on bottom portions of thegate electrode 168 a and the gate line 168 b; a second gate insulatingfilm 173 formed around an upper portion of the first pillar-shapedsemiconductor layer 132; a first contact 179 b made of a second metaland formed around the second gate insulating film 173; a second contact183 b which is made of a third metal and which connects an upper portionof the first contact 179 b to an upper portion of the firstpillar-shaped semiconductor layer 132; and a second diffusion layer 143b formed in a lower portion of the first pillar-shaped semiconductorlayer 132, the second diffusion layer 143 b being further formed in thefin-shaped semiconductor layer 105.

A lower electrode 195 c, a pillar-shaped resistance-changing layer 196c, a reset gate insulating film 202, and a reset gate 203 a are formedon the second contact 183 b.

The memory cell in the first row and the third column includes afin-shaped semiconductor layer 105 formed on a semiconductor substrate101; a first insulating film 106 formed around the fin-shapedsemiconductor layer 105; a first pillar-shaped semiconductor layer 134formed on the fin-shaped semiconductor layer 105; a gate insulating film163 formed around the first pillar-shaped semiconductor layer 134; agate electrode 170 a made of a metal and formed around the gateinsulating film 163; a gate line 170 b made of a metal and connected tothe gate electrode 170 a, the gate line 170 b extending in a directionperpendicular to a direction in which the fin-shaped semiconductor layer105 extends, the gate insulating film 163 being formed around the gateelectrode 170 a and the gate line 170 b and on bottom portions of thegate electrode 170 a and the gate line 170 b; a second gate insulatingfilm 174 formed around an upper portion of the first pillar-shapedsemiconductor layer 134; a first contact 181 b made of a second metaland formed around the second gate insulating film 174; a second contact185 b which is made of a third metal and which connects an upper portionof the first contact 181 b to an upper portion of the firstpillar-shaped semiconductor layer 134; and a second diffusion layer 143b formed in a lower portion of the first pillar-shaped semiconductorlayer 134, the second diffusion layer 143 b being further formed in thefin-shaped semiconductor layer 105.

A lower electrode 195 d, a pillar-shaped resistance-changing layer 196d, a reset gate insulating film 202, and a reset gate 203 b are formedon the second contact 185 b.

The pillar-shaped resistance-changing layer 196 c and the pillar-shapedresistance-changing layer 196 dare connected to each other through a bitline 208 b.

The gate electrodes 168 a and 170 a are made of a metal and the gatelines 168 b and 170 b are made of a metal. Furthermore, there are thefirst contacts 179 a, 179 b, 181 a, and 181 b made of a second metal andformed around the second gate insulating films 173 and 174 and thesecond contacts 183 a, 183 b, 185 a, and 185 b which are made of a thirdmetal and which connect the upper portions of the first contacts 179 a,179 b, 181 a, and 181 b to the upper portions of the pillar-shapedsemiconductor layers 129, 131, 132, and 134. Since a large amount ofmetal is used, the cooling can be accelerated. In addition, since thegate insulating films 162 and 163 are formed around the gate electrodes168 a and 170 a and the gate lines 168 b and 170 b and on bottomportions of the gate electrodes 168 a and 170 a and the gate lines 168 band 170 b, a metal gate is formed through a gate last process.Therefore, both a metal gate process and a high-temperature process canbe performed.

Furthermore, the gate insulating films 162 and 163 are formed around thegate electrodes 168 a and 170 a and the gate lines 168 b and 170 b andon bottom portions of the gate electrodes 168 a and 170 a and the gatelines 168 b and 170 b. The gate electrodes 168 a and 170 a are made of ametal. The gate lines 168 b and 170 b are made of a metal. The gatelines 168 b and 170 b extend in a direction perpendicular to a directionin which the fin-shaped semiconductor layers 104 and 105 extend. Thesecond diffusion layers 143 a and 143 b are further formed in thefin-shaped semiconductor layers 104 and 105. The outer width of the gateelectrodes 168 a and 170 a is equal to the width of the gate lines 168 band 170 b. The width of the first pillar-shaped semiconductor layers129, 131, 132, and 134 is equal to the width of the fin-shapedsemiconductor layers 104 and 105. Thus, the fin-shaped semiconductorlayers 104 and 105, the first pillar-shaped semiconductor layers 129,131, 132, and 134, the gate electrodes 168 a and 170 a, and the gatelines 168 b and 170 b of the semiconductor device are formed through aself-aligned process with two masks. This can reduce the number ofsteps.

The contact device in the second row and the second column includes thefin-shaped semiconductor layer 104 formed on the semiconductor substrate101; the first insulating film 106 formed around the fin-shapedsemiconductor layer 104; a second pillar-shaped semiconductor layer 130formed on the fin-shaped semiconductor layer 104, the width of thesecond pillar-shaped semiconductor layer 130 in a directionperpendicular to a direction in which the fin-shaped semiconductor layer104 extends being equal to the width of the fin-shaped semiconductorlayer 104 in a direction perpendicular to the direction in which thefin-shaped semiconductor layer 104 extends; a contact electrode 169 amade of a metal and formed around the second pillar-shaped semiconductorlayer 130; the gate insulating film 165 formed between the secondpillar-shaped semiconductor layer 130 and the contact electrode 169 a;the contact line 169 b which is made of a metal and which extends in adirection perpendicular to a direction in which the fin-shapedsemiconductor layer 104 connected to the contact electrode 169 aextends; the gate insulating film 164 formed around the contactelectrode 169 a and the contact line 169 b, the outer width of thecontact electrode 169 a being equal to the width of the contact line 169b; and the second diffusion layer 143 a formed in the fin-shapedsemiconductor layer 104 and in a lower portion of the secondpillar-shaped semiconductor layer 130, the contact electrode 169 a beingconnected to the second diffusion layer 143 a.

The contact device also includes a second gate insulating film 175formed around an upper portion of the second pillar-shaped semiconductorlayer 130; a third contact 180 a made of a second metal and formedaround the second gate insulating film 175, the third contact 180 abeing connected to the contact electrode 169 a; and a fourth contact 184a which is made of a third metal and which connects the upper portion ofthe third contact 180 a to an upper portion of the second pillar-shapedsemiconductor layer 130.

Therefore, the second diffusion layer 143 a, the contact electrode 169a, the contact line 169 b, the third contact 180 a, and the fourthcontact 184 a are connected to each other.

The contact device in the first row and the second column includes thefin-shaped semiconductor layer 105 formed on the semiconductor substrate101; the first insulating film 106 formed around the fin-shapedsemiconductor layer 105; a second pillar-shaped semiconductor layer 133formed on the fin-shaped semiconductor layer 105, the width of thesecond pillar-shaped semiconductor layer 133 in a directionperpendicular to a direction in which the fin-shaped semiconductor layer105 extends being equal to the width of the fin-shaped semiconductorlayer 105 in a direction perpendicular to the direction in which thefin-shaped semiconductor layer 105 extends; a contact electrode 169 amade of a metal and formed around the second pillar-shaped semiconductorlayer 133; the gate insulating film 166 formed between the secondpillar-shaped semiconductor layer 133 and the contact electrode 169 a;the contact line 169 b which is made of a metal and which extends in adirection perpendicular to a direction in which the fin-shapedsemiconductor layer 105 connected to the contact electrode 169 aextends; the gate insulating film 164 formed around the contactelectrode 169 a and the contact line 169 b, the outer width of thecontact electrode 169 a being equal to the width of the contact line 169b; and the second diffusion layer 143 b formed in the fin-shapedsemiconductor layer 105 and in a lower portion of the secondpillar-shaped semiconductor layer 133, the contact electrode 169 a beingconnected to the second diffusion layer 143 b.

The contact device also includes a second gate insulating film 176formed around an upper portion of the second pillar-shaped semiconductorlayer 133; a third contact 180 b made of a second metal and formedaround the second gate insulating film 176, the third contact 180 bbeing connected to the contact electrode 169 a; and a fourth contact 184b which is made of a third metal and which connects the upper portion ofthe third contact 180 b to an upper portion of the second pillar-shapedsemiconductor layer 133.

Therefore, the second diffusion layer 143 b, the contact electrode 169a, the contact line 169 b, the third contact 180 b, and the fourthcontact 184 b are connected to each other.

As a result of the presence of the contact line 169 b which is parallelto the gate lines 168 b and 170 b and is connected to the seconddiffusion layers 143 a and 143 b, the second diffusion layers 143 a and143 b are connected to each other. This can decrease the resistance of asource line and can suppress an increase in the source voltage caused byelectric current at the time of the set operation. Regarding the contactline 169 b which is parallel to the gate lines 168 b and 170 b, forexample, one contact line 169 b is preferably disposed for every 2memory cells, 4 memory cells, 8 memory cells, 16 memory cells, 32 memorycells, or 64 memory cells arranged in a row in a direction in which thebit lines 208 a and 208 b extend.

A structure constituted by the second pillar-shaped semiconductor layers130 and 133, the contact electrode 169 a formed around the secondpillar-shaped semiconductor layers 130 and 133, and the contact line 169b is the same as a transistor structure, except that the contactelectrode 169 a is connected to the second diffusion layers 143 a and143 b. All source lines which are constituted by the second diffusionlayers 143 a and 143 b and which extend in a direction parallel to adirection in which the gate lines 168 b and 170 b extend are connectedto the contact line 169 b. This can reduce the number of steps.

FIGS. 2( a), 2(b) and 2(c) show a structure in which a second diffusionlayer 143 c is formed to a deep portion of the semiconductor substrate101 so that the second diffusion layers 143 a and 143 b in FIGS. 1( a),1(b) and 1(c) are connected to each other. In this structure, the sourceresistance can be further decreased.

FIGS. 3( a), 3(b) and 3(c) show a structure in which the fin-shapedsemiconductor layer 105 in FIGS. 2( a), 2(b) and 2(c) and the firstinsulating film 106 formed around the fin-shaped semiconductor layer 105in FIGS. 2( a), 2(b) and 2(c) are omitted and a second diffusion layer143 d is formed on the semiconductor substrate 101. In this structure,the source resistance can be further decreased.

A production process for forming a structure of a semiconductor deviceaccording to an embodiment of the present invention will be describedbelow with reference to FIGS. 4( a) to 62(c).

First, a first step will be described, the first step including forminga fin-shaped semiconductor layer on a semiconductor substrate andforming a first insulating film around the fin-shaped semiconductorlayer. In this embodiment, a silicon substrate is employed, but anysemiconductor substrate may be employed.

As shown in FIGS. 4( a), 4(b) and 4(c), first resists 102 and 103 forforming fin-shaped silicon layers are formed on a silicon substrate 101.

As shown in FIGS. 5( a), 5(b) and 5(c), the silicon substrate 101 isetched to form fin-shaped silicon layers 104 and 105. This time, thefin-shaped silicon layers are formed using a resist as a mask, but ahard mask such as an oxide film or a nitride film may be used.

As shown in FIGS. 6( a), 6(b) and 6(c), the first resists 102 and 103are removed.

As shown in FIGS. 7( a), 7(b) and 7(c), a first insulating film 106 isdeposited around the fin-shaped silicon layers 104 and 105. An oxidefilm formed by high-density plasma or an oxide film formed bylow-pressure CVD (chemical vapor deposition) may be used as the firstinsulating film.

As shown in FIGS. 8( a), 8(b) and 8(c), the first insulating film 106 isetched back to expose upper portions of the fin-shaped silicon layers104 and 105.

The first step has been described, the first step including forming afin-shaped semiconductor layer on a semiconductor substrate and forminga first insulating film around the fin-shaped semiconductor layer.

Next, a second step will be described, the second step including, afterthe first step, forming a second insulating film around the fin-shapedsemiconductor layer, depositing a first polysilicon on the secondinsulating film and planarizing the first polysilicon, forming a secondresist for forming a first gate line, a first pillar-shapedsemiconductor layer, a first contact line, and a second pillar-shapedsemiconductor layer so that the second resist extends in a directionperpendicular to a direction in which the fin-shaped semiconductor layerextends, and etching the first polysilicon, the second insulating film,and the fin-shaped semiconductor layer to form a first pillar-shapedsemiconductor layer, a first dummy gate constituted by the firstpolysilicon, a second pillar-shaped semiconductor layer, and a seconddummy gate constituted by the first polysilicon.

As shown in FIGS. 9( a), 9(b) and 9(c), second insulating films 107 and108 are formed around the fin-shaped silicon layers 104 and 105. Thesecond insulating films 107 and 108 are preferably oxide films.

As shown in FIGS. 10( a), 10(b) and 10(c), a first polysilicon 109 isdeposited on the second insulating films 107 and 108 and planarized.

As shown in FIGS. 11( a), 11(b) and 11(c), a third insulating film 110is formed on the first polysilicon 109. The third insulating film 110 ispreferably a nitride film.

As shown in FIGS. 12( a), 12(b) and 2(c), second resists 111, 112, and113 for forming gate lines 168 b and 170 b, first pillar-shapedsemiconductor layers 129, 131, 132, and 134, second pillar-shapedsemiconductor layers 130 and 133, and a contact line 169 b are formed soas to extend in a direction perpendicular to the direction in which thefin-shaped silicon layers 104 and 105 extend.

As shown in FIGS. 13( a), 13(b) and 13(c), the third insulating film110, the first polysilicon 109, the second insulating films 107 and 108,and the fin-shaped silicon layers 104 and 105 are etched to form firstpillar-shaped silicon layers 129, 131, 132, and 134, first dummy gates117 and 119 constituted by the first polysilicon, second pillar-shapedsilicon layers 130 and 133, and a second dummy gate 118 constituted bythe first polysilicon. Herein, the third insulating film 110 isseparated into third insulating films 114, 115, and 116. The secondinsulating films 107 and 108 are separated into second insulating films123, 124, 125, 126, 127, and 128. If the second resists 111, 112, and113 are removed during the etching, the third insulating films 114, 115,and 116 function as hard masks. If the second resists are not removedduring the etching, the third insulating film is not necessarily used.

As shown in FIGS. 14( a), 14(b) and 14(c), the second resists 111, 112,and 113 are removed.

The second step has been described, the second step including, after thefirst step, forming a second insulating film around the fin-shapedsemiconductor layer, depositing a first polysilicon on the secondinsulating film and planarizing the first polysilicon, forming a secondresist for forming a first gate line, a first pillar-shapedsemiconductor layer, a first contact line, and a second pillar-shapedsemiconductor layer so that the second resist extends in a directionperpendicular to a direction in which the fin-shaped semiconductor layerextends, and etching the first polysilicon, the second insulating film,and the fin-shaped semiconductor layer to form a first pillar-shapedsemiconductor layer, a first dummy gate constituted by the firstpolysilicon, a second pillar-shaped semiconductor layer, and a seconddummy gate constituted by the first polysilicon.

Next, a third step will be described, the third step including, afterthe second step, forming a fourth insulating film around the firstpillar-shaped semiconductor layer, the second pillar-shapedsemiconductor layer, the first dummy gate, and the second dummy gate,depositing a second polysilicon around the fourth insulating film, andforming a third dummy gate and a fourth dummy gate by etching the secondpolysilicon so that the second polysilicon is left on side walls of thefirst dummy gate, the first pillar-shaped semiconductor layer, thesecond dummy gate, and the second pillar-shaped semiconductor layer.

As shown in FIGS. 15( a), 15(b) and 15(c), a fourth insulating film 135is formed around the first pillar-shaped silicon layers 129, 131, 132,and 134, the second pillar-shaped silicon layers 130 and 133, the firstdummy gates 117 and 119, and the second dummy gate 118. A secondpolysilicon 136 is deposited around the fourth insulating film 135.

As shown in FIGS. 16( a), 16(b) and 16(c), third dummy gates 137 and 139and a fourth dummy gate 138 are formed by etching the second polysilicon136 so that the second polysilicon 136 is left on side walls of thefirst dummy gates 117 and 119, the first pillar-shaped silicon layers129, 131, 132, and 134, the second dummy gate 118, and the secondpillar-shaped silicon layers 130 and 133. Herein, the fourth insulatingfilm 135 may be separated into fourth insulating films 140, 141, and142.

The third step has been described, the third step including, after thesecond step, forming a fourth insulating film around the firstpillar-shaped semiconductor layer, the second pillar-shapedsemiconductor layer, the first dummy gate, and the second dummy gate,depositing a second polysilicon around the fourth insulating film, andforming a third dummy gate and a fourth dummy gate by etching the secondpolysilicon so that the second polysilicon is left on side walls of thefirst dummy gate, the first pillar-shaped semiconductor layer, thesecond dummy gate, and the second pillar-shaped semiconductor layer.

Next, a fourth step will be described, the fourth step including forminga second diffusion layer in an upper portion of the fin-shapedsemiconductor layer and lower portions of the first pillar-shapedsemiconductor layer and the second pillar-shaped semiconductor layer,forming a fifth insulating film around the third dummy gate and thefourth dummy gate, etching the fifth insulating film to make the fifthinsulating film remain as a side wall, and forming a metal andsemiconductor compound in an upper portion of the second diffusionlayer.

As shown in FIGS. 17( a), 17(b) and 17(c), an impurity is introduced toform second diffusion layers 143 a and 143 b in lower portions of thefirst pillar-shaped silicon layers 129, 131, 132, and 134 and the secondpillar-shaped silicon layers 130 and 133. When n-type diffusion layersare formed, arsenic or phosphorus is preferably introduced. When p-typediffusion layers are formed, boron is preferably introduced. Theformation of the diffusion layers may be performed after the formationof a side wall constituted by a fifth insulating film described below.

As shown in FIGS. 18( a), 18(b) and 18(c), a fifth insulating film 144is formed around the third dummy gates 137 and 139 and the fourth dummygate 138. The fifth insulating film 144 is preferably a nitride film.

As shown in FIGS. 19( a), 19(b) and 19(c), the fifth insulating film 144is etched to make the fifth insulating film 144 remain as a side wall.Thus, side walls 145, 146, and 147 constituted by the fifth insulatingfilm are formed.

As shown in FIGS. 20( a), 20(b) and 20(c), metal and semiconductorcompounds 148, 149, 150, 151, 152, 153, 154, and 155 are formed in upperportions of the second diffusion layers 143 a and 143 b. Herein, metaland semiconductor compounds 156, 158, and 157 are also formed in upperportions of the third dummy gates 137 and 139 and an upper portion ofthe fourth dummy gate 138.

The fourth step has been described, the fourth step including forming asecond diffusion layer in an upper portion of the fin-shapedsemiconductor layer and lower portions of the first pillar-shapedsemiconductor layer and the second pillar-shaped semiconductor layer,forming a fifth insulating film around the third dummy gate and thefourth dummy gate, etching the fifth insulating film to make the fifthinsulating film remain as a side wall, and forming a metal andsemiconductor compound in an upper portion of the second diffusionlayer.

A fifth step will be described, the fifth step including, after thefourth step, depositing an interlayer insulating film, performingchemical mechanical polishing to expose upper portions of the firstdummy gate, the second dummy gate, the third dummy gate, and the fourthdummy gate, removing the first dummy gate, the second dummy gate, thethird dummy gate, and the fourth dummy gate, removing the secondinsulating film and the fourth insulating film, forming a gateinsulating film around the first pillar-shaped semiconductor layer andthe second pillar-shaped semiconductor layer and on an inner side of thefifth insulating film, forming a third resist for removing a portion ofthe gate insulating film located in a periphery of a bottom portion ofthe second pillar-shaped semiconductor layer, removing the portion ofthe gate insulating film located in the periphery of the bottom portionof the second pillar-shaped semiconductor layer, and depositing a firstmetal and etching back the first metal to expose an upper portion of thefirst pillar-shaped semiconductor layer and an upper portion of thesecond pillar-shaped semiconductor layer, to form a gate electrode and agate line around the first pillar-shaped semiconductor layer, and toform a contact electrode and a contact line around the secondpillar-shaped semiconductor layer.

As shown in FIGS. 21( a), 21(b) and 21(c), an interlayer insulating film159 is deposited. A contact stopper film may be used.

As shown in FIGS. 22( a), 22(b) and 22(c), chemical mechanical polishingis performed to expose upper portions of the first dummy gates 117 and119, the second dummy gate 118, the third dummy gates 137 and 139, andthe fourth dummy gate 138. Herein, the metal and semiconductor compounds156, 158, and 157 located in the upper portions of the third dummy gates137 and 139 and the fourth dummy gate 138 are removed.

As shown in FIGS. 23( a), 23(b) and 23(c), the first dummy gates 117 and119, the second dummy gate 118, the third dummy gates 137 and 139, andthe fourth dummy gate 138 are removed.

As shown in FIGS. 24( a), 24(b) and 24(c), the second insulating films123, 124, 125, 126, 127, and 128 and the fourth insulating films 140,141, and 142 are removed.

As shown in FIGS. 25( a), 25(b) and 25(c), a gate insulating film 160 isformed around the first pillar-shaped silicon layers 129, 131, 132, and134 and the second pillar-shaped silicon layers 130 and 133 and on theinner sides of the fifth insulating films 145, 146, and 147.

As shown in FIGS. 26( a), 26(b) and 26(c), a third resist 161 forremoving portions of the gate insulating film 160 located in peripheriesof the bottom portions of the second pillar-shaped silicon layers 130and 133 is formed.

As shown in FIGS. 27( a), 27(b) and 27(c), the portions of the gateinsulating film 160 located in the peripheries of the bottom portions ofthe second pillar-shaped silicon layers 130 and 133 are removed. Thegate insulating film is separated into gate insulating films 162, 163,164, 165, and 166. Furthermore, the gate insulating films 164, 165, and166 may be removed by isotropic etching.

As shown in FIGS. 28( a), 28(b) and 28(c), the third resist 161 isremoved.

As shown in FIGS. 29( a), 29(b) and 29(c), a metal 167 is deposited.

As shown in FIGS. 30( a), 30(b) and 30(c), the metal 167 is etched backto form gate electrodes 168 a and 170 a and gate lines 168 b and 170 baround the first pillar-shaped silicon layers 129, 131, 132, and 134 andto form a contact electrode 169 a and a contact line 169 b around thesecond pillar-shaped silicon layers 130 and 133.

The fifth step has been described, the fifth step including, after thefourth step, depositing an interlayer insulating film, performingchemical mechanical polishing to expose upper portions of the firstdummy gate, the second dummy gate, the third dummy gate, and the fourthdummy gate, removing the first dummy gate, the second dummy gate, thethird dummy gate, and the fourth dummy gate, removing the secondinsulating film and the fourth insulating film, forming a gateinsulating film around the first pillar-shaped semiconductor layer andthe second pillar-shaped semiconductor layer and on an inner side of thefifth insulating film, forming a third resist for removing a portion ofthe gate insulating film located in a periphery of a bottom portion ofthe second pillar-shaped semiconductor layer, removing the portion ofthe gate insulating film located in the periphery of the bottom portionof the second pillar-shaped semiconductor layer, and depositing a firstmetal and etching back the first metal to expose an upper portion of thefirst pillar-shaped semiconductor layer and an upper portion of thesecond pillar-shaped semiconductor layer, to form a gate electrode and agate line around the first pillar-shaped semiconductor layer, and toform a contact electrode and a contact line around the secondpillar-shaped semiconductor layer.

Next, a sixth step will be described, the sixth step including, afterthe fifth step, depositing a second gate insulating film around thefirst pillar-shaped semiconductor layer, on the gate electrode and thegate line, around the second pillar-shaped semiconductor layer, and onthe contact electrode and the contact line, depositing a second metal,exposing an upper portion of the first pillar-shaped semiconductor layerand an upper portion of the second pillar-shaped semiconductor layer,removing a portion of the second gate insulating film on the firstpillar-shaped semiconductor layer, depositing a third metal, and etchingthe portions of the third metal and the second metal to form a firstcontact in which the second metal surrounds an upper side wall of thefirst pillar-shaped semiconductor layer and to form a second contactwhich connects an upper portion of the first contact to an upper portionof the first pillar-shaped semiconductor layer.

As shown in FIGS. 31( a), 31(b) and 31(c), the exposed gate insulatingfilms 162, 163, 164, 165, and 166 are removed.

As shown in FIGS. 32( a), 32(b) and 32(c), a second gate insulating film171 is deposited around the first pillar-shaped silicon layers 129, 131,132, and 134, on the gate electrodes 168 a and 170 a and the gate lines168 b and 170 b, around the second pillar-shaped silicon layers 130 and133, and on the contact electrode 169 a and the contact line 169 b.

As shown in FIGS. 33( a), 33(b) and 33(c), a fourth resist 172 forremoving at least a portion of the second gate insulating film 171 onthe contact electrode 169 a and the contact line 169 b is formed.

As shown in FIGS. 34( a), 34(b) and 34(c), at least a portion of thesecond gate insulating film 171 on the contact electrode 169 a and thecontact line 169 b is removed. The second gate insulating film 171 isseparated into second gate insulating films 173, 174, 175, 176, and 177.The second gate insulating films 175, 176, and 177 may be removed byisotropic etching.

To form contacts, etching may be performed by a thickness of the firstgate insulating film and by a thickness of the second gate insulatingfilm, which does not require a step of forming a deep contact hole.

As shown in FIGS. 35( a), 35(b) and 35(c), the fourth resist 172 isremoved.

As shown in FIGS. 36( a), 36(b) and 36(c), a second metal 178 isdeposited. In the case of n-type transistors, the second metal 178preferably has a work function of 4.0 eV to 4.2 eV. In the case ofp-type transistors, the second metal 178 preferably has a work functionof 5.0 eV to 5.2 eV.

As shown in FIGS. 37( a), 37(b) and 37(c), the second metal 178 isetched back to expose the upper portions of the first pillar-shapedsilicon layers 129, 131, 132, and 134 and the upper portions of thesecond pillar-shaped silicon layers 130 and 133. Herein, the secondmetal 178 is changed into second metal lines 179, 180, and 181.

As shown in FIGS. 38( a), 38(b) and 38(c), portions of the second gateinsulating films 173 and 174 on the exposed first pillar-shaped siliconlayers 129, 131, 132, and 134 are removed.

As shown in FIGS. 39( a), 39(b) and 39(c), a third metal 182 isdeposited. The third metal 182 may be the same metal as the second metal178.

As shown in FIGS. 40( a), 40(b) and 40(c), the third metal 182 is etchedback to form third metal lines 183, 184, and 185.

As shown in FIGS. 41( a), 41(b) and 41(b), fifth resists 186 and 187which extend so as to be perpendicular to the second metal lines 179,180, and 181 and the third metal lines 183, 184, and 185 are formed.

As shown in FIGS. 42( a), 42(b) and 42(c), the second metal lines 179,180, and 181 and the third metal lines 183, 184, and 185 are etched toform first contacts 179 a, 179 b, 181 a, and 181 b, second contacts 183a, 183 b, 185 a, and 185 b, third contacts 180 a and 180 b, and fourthcontacts 184 a and 184 b.

As shown in FIGS. 43( a), 43(b) and 43(c), the fifth resists 186 and 187are removed.

The sixth step has been described, the sixth step including, after thefifth step, depositing a second gate insulating film around the firstpillar-shaped semiconductor layer, on the gate electrode and the gateline, around the second pillar-shaped semiconductor layer, and on thecontact electrode and the contact line, depositing a second metal,exposing an upper portion of the first pillar-shaped semiconductor layerand an upper portion of the second pillar-shaped semiconductor layer,removing a portion of the second gate insulating film on the firstpillar-shaped semiconductor layer, depositing a third metal, and etchingthe portions of the third metal and the second metal to form a firstcontact in which the second metal surrounds an upper side wall of thefirst pillar-shaped semiconductor layer and to form a second contactwhich connects an upper portion of the first contact to an upper portionof the first pillar-shaped semiconductor layer.

Next, a seventh step will be described, the seventh step including,after the sixth step, depositing a second interlayer insulating film andplanarizing the second interlayer insulating film to expose an upperportion of the second contact, forming a pillar-shapedresistance-changing layer and a lower electrode, forming a reset gateinsulating film so that the reset gate insulating film surrounds thepillar-shaped resistance-changing layer and the lower electrode, andforming a reset gate.

As shown in FIGS. 44( a), 44(b) and 44(c), the second interlayerinsulating film 194 is deposited and planarized to expose the upperportions of the second contacts 183 a, 183 b, 185 a, and 185 b. Herein,the upper portions of the fourth contacts 184 a and 184 b may beexposed.

As shown in FIGS. 45( a), 45(b) and 45(c), a metal 195 for a lowerelectrode, a resistance-changing film 196, and a nitride film 197 aredeposited.

As shown in FIGS. 46( a), 46(b) and 46(c), sixth resists 198, 199, 200,and 201 for forming a pillar-shaped resistance-changing layer and alower electrode are formed.

As shown in FIGS. 47( a), 47(b) and 47(c), the nitride film 197, theresistance-changing film 196, and the metal 195 are etched. The nitridefilm 197 is separated into nitride films 197 a, 197 b, 197 c, and 197 d.The resistance-changing film 196 is separated into pillar-shapedresistance-changing layers 196 a, 196 b, 196 c, and 196 d. The metal 195is separated into lower electrodes 195 a, 195 b, 195 c, and 195 d.

As shown in FIGS. 48( a), 48(b) and 48(c), the sixth resists 198, 199,200, and 201 are removed.

As shown in FIGS. 49( a), 49(b) and 49(c), a reset gate insulating film202 is deposited.

As shown in FIGS. 50( a), 50(b) and 50(c), a metal 203 to serve as arest gate is deposited.

As shown in FIGS. 51( a), 51(b) and 51(c), the metal 203 is etched back.

As shown in FIGS. 52( a), 52(b) and 52(c), a nitride film 204 isdeposited.

As shown in FIGS. 53( a), 53(b) and 53(c), seventh resists 205 and 206for forming reset gates are formed.

As shown in FIGS. 54( a), 54(b) and 54(c), the nitride film 204 isetched. The nitride film 204 is separated into nitride films 204 a and204 b.

As shown in FIGS. 55( a), 55(b) and 55(c), the metal 203 is etched usingthe seventh resists 205 and 206 and the nitride films 204 a and 204 b asmasks to form reset gates 203 a and 203 b.

As shown in FIGS. 56( a), 56(b) and 56(c), the seventh resists 205 and206 are removed.

As shown in FIGS. 57( a), 57(b) and 57(c), a third interlayer insulatingfilm 207 is deposited.

As shown in FIGS. 58( a), 58(b) and 58(c), the third interlayerinsulating film 207 is planarized and the nitride films 197 a, 197 b,197 c, and 197 d are removed to expose the upper portions of thepillar-shaped resistance-changing layers 196 a, 196 b, 196 c, and 196 d.

As shown in FIGS. 59( a), 59(b) and 59(c), a metal 208 is deposited.

As shown in FIGS. 60( a), 60(b) and 60(c), eighth resists 209 and 210for forming bit lines are formed.

As shown in FIGS. 61( a), 61(b) and 61(c), the metal 208 is etched toform bit lines 208 a and 208 b.

As shown in FIGS. 62( a), 62(b) and 62(c), the eighth resists 209 and210 are removed.

The seventh step has been described, the seventh step including, afterthe sixth step, depositing a second interlayer insulating film andplanarizing the second interlayer insulating film to expose an upperportion of the second contact, forming a pillar-shapedresistance-changing layer and a lower electrode, forming a reset gateinsulating film so that the reset gate insulating film surrounds thepillar-shaped resistance-changing layer and the lower electrode, andforming a reset gate.

The production process for forming a structure of a semiconductor deviceaccording to an embodiment of the present invention has been described.

In the present invention, various embodiments and modifications can bemade without departing from the broad spirit and scope of the presentinvention. Furthermore, the above-described embodiment is provided todescribe one embodiment of the present invention, and the scope of thepresent invention is not limited thereto.

For example, a method for producing a semiconductor device in which thep-type (including the p⁺-type) and the n-type (including the n⁺-type)are each changed to the opposite conductivity type in the aboveembodiment, and a semiconductor device produced by the method are alsoobviously included in the technical scope of the present invention.

What is claimed is:
 1. A semiconductor device comprising: a firstpillar-shaped semiconductor layer; a gate insulating film formed aroundthe first pillar-shaped semiconductor layer; a gate electrode made of ametal and formed around the gate insulating film; a gate line made of ametal and connected to the gate electrode; a second gate insulating filmformed around an upper portion of the first pillar-shaped semiconductorlayer; a first contact made of a second metal and formed around thesecond gate insulating film; a second contact which is made of a thirdmetal and which connects an upper portion of the first contact to anupper portion of the first pillar-shaped semiconductor layer; a seconddiffusion layer formed in a lower portion of the first pillar-shapedsemiconductor layer; a pillar-shaped resistance-changing layer formed onthe second contact; a reset gate insulating film that surrounds thepillar-shaped resistance-changing layer; and a reset gate that surroundsthe reset gate insulating film.
 2. The semiconductor device according toclaim 1, comprising a lower electrode below the pillar-shapedresistance-changing layer.
 3. The semiconductor device according toclaim 1, wherein the reset gate is made of titanium nitride.
 4. Thesemiconductor device according to claim 1, wherein the reset gateinsulating film is a nitride film.
 5. The semiconductor device accordingto claim 2, wherein the lower electrode is made of titanium nitride. 6.The semiconductor device according to claim 1, wherein theresistance-changing layer is reset by causing an electric current toflow through the reset gate.
 7. The semiconductor device according toclaim 1, wherein the second metal of the first contact has a workfunction of 4.0 eV to 4.2 eV.
 8. The semiconductor device according toclaim 1, wherein the second metal of the first contact has a workfunction of 5.0 eV to 5.2 eV.
 9. The semiconductor device according toclaim 1, comprising: a fin-shaped semiconductor layer formed on asemiconductor substrate; and a first insulating film formed around thefin-shaped semiconductor layer, wherein the first pillar-shapedsemiconductor layer is formed on the fin-shaped semiconductor layer, thegate insulating film is formed around the gate electrode and the gateline and on bottom portions of the gate electrode and the gate line, thegate line extends in a direction perpendicular to a direction in whichthe fin-shaped semiconductor layer extends, and the second diffusionlayer is further formed in the fin-shaped semiconductor layer.
 10. Thesemiconductor device according to claim 9, wherein the second diffusionlayer is further formed in the semiconductor substrate.
 11. Thesemiconductor device according to claim 9, comprising a contact linewhich is parallel to the gate line and is connected to the seconddiffusion layer.
 12. The semiconductor device according to claim 11,comprising: the fin-shaped semiconductor layer formed on thesemiconductor substrate; the first insulating film formed around thefin-shaped semiconductor layer; a second pillar-shaped semiconductorlayer formed on the fin-shaped semiconductor layer; and a contactelectrode made of a metal and formed around the second pillar-shapedsemiconductor layer, wherein the contact line is made of a metal andextends in a direction perpendicular to a direction in which thefin-shaped semiconductor layer connected to the contact electrodeextends, the second diffusion layer is formed in the fin-shapedsemiconductor layer and in a lower portion of the second pillar-shapedsemiconductor layer, and the contact electrode is connected to thesecond diffusion layer.
 13. The semiconductor device according to claim9, wherein an outer width of the gate electrode is equal to a width ofthe gate line, and a width of the first pillar-shaped semiconductorlayer in a direction perpendicular to a direction in which thefin-shaped semiconductor layer extends is equal to a width of thefin-shaped semiconductor layer in a direction perpendicular to adirection in which the fin-shaped semiconductor layer extends.
 14. Thesemiconductor device according to claim 12, wherein the gate insulatingfilm is formed between the second pillar-shaped semiconductor layer andthe contact electrode.
 15. The semiconductor device according to claim12, wherein a width of the second pillar-shaped semiconductor layer in adirection perpendicular to a direction in which the fin-shapedsemiconductor layer extends is equal to a width of the fin-shapedsemiconductor layer in a direction perpendicular to a direction in whichthe fin-shaped semiconductor layer extends.
 16. The semiconductor deviceaccording to claim 14, wherein the gate insulating film is formed aroundthe contact electrode and the contact line.
 17. The semiconductor deviceaccording to claim 12, wherein an outer width of the contact electrodeis equal to a width of the contact line.
 18. The semiconductor deviceaccording to claim 1, wherein the first pillar-shaped semiconductorlayer is formed on a semiconductor substrate, the gate insulating filmis formed around the gate electrode and the gate line and on bottomportions of the gate electrode and the gate line, and the seconddiffusion layer is further formed in the semiconductor substrate.
 19. Amethod for producing a semiconductor device, comprising: a first step offorming a fin-shaped semiconductor layer on a semiconductor substrateand forming a first insulating film around the fin-shaped semiconductorlayer; after the first step, a second step of forming a firstpillar-shaped semiconductor layer, a first dummy gate constituted by afirst polysilicon, a second pillar-shaped semiconductor layer, and asecond dummy gate constituted by a first polysilicon; after the secondstep, a third step of forming a third dummy gate and a fourth dummy gateon side walls of the first dummy gate, the first pillar-shapedsemiconductor layer, the second dummy gate, and the second pillar-shapedsemiconductor layer; after the third step, a fourth step of forming asecond diffusion layer in an upper portion of the fin-shapedsemiconductor layer, a lower portion of the first pillar-shapedsemiconductor layer, and a lower portion of the second pillar-shapedsemiconductor layer; after the fourth step, a fifth step of depositingan interlayer insulating film, exposing upper portions of the firstdummy gate, the second dummy gate, the third dummy gate, and the fourthdummy gate, removing the first dummy gate, the second dummy gate, thethird dummy gate, and the fourth dummy gate, forming a gate insulatingfilm around the first pillar-shaped semiconductor layer and the secondpillar-shaped semiconductor layer, removing a portion of the gateinsulating film located in a periphery of a bottom portion of the secondpillar-shaped semiconductor layer, depositing a first metal, exposing anupper portion of the first pillar-shaped semiconductor layer and anupper portion of the second pillar-shaped semiconductor layer, forming agate electrode and a gate line around the first pillar-shapedsemiconductor layer, and forming a contact electrode and a contact linearound the second pillar-shaped semiconductor layer; after the fifthstep, a sixth step of depositing a second gate insulating film aroundthe first pillar-shaped semiconductor layer, on the gate electrode andthe gate line, around the second pillar-shaped semiconductor layer, andon the contact electrode and the contact line, depositing a secondmetal, exposing an upper portion of the first pillar-shapedsemiconductor layer and an upper portion of the second pillar-shapedsemiconductor layer, removing a portion of the second gate insulatingfilm on the first pillar-shaped semiconductor layer, depositing a thirdmetal, and etching portions of the third metal and the second metal toform a first contact in which the second metal surrounds an upper sidewall of the first pillar-shaped semiconductor layer and a second contactwhich connects an upper portion of the first contact to an upper portionof the first pillar-shaped semiconductor layer; and after the sixthstep, a seventh step of depositing a second interlayer insulating filmand planarizing the second interlayer insulating film to expose an upperportion of the second contact, and forming a pillar-shapedresistance-changing layer and a lower electrode, forming a reset gateinsulating film so that the reset gate insulating film surrounds thepillar-shaped resistance-changing layer and the lower electrode, andforming a reset gate.
 20. The method for producing a semiconductordevice according to claim 19, wherein the second step includes: forminga second insulating film around the fin-shaped semiconductor layer;depositing a first polysilicon on the second insulating film andplanarizing the first polysilicon; forming a second resist for forming afirst gate line, a first pillar-shaped semiconductor layer, a firstcontact line, and a second pillar-shaped semiconductor layer so that thesecond resist extends in a direction perpendicular to a direction inwhich the fin-shaped semiconductor layer extends; and etching the firstpolysilicon, the second insulating film, and the fin-shapedsemiconductor layer to form a first pillar-shaped semiconductor layer, afirst dummy gate constituted by the first polysilicon, a secondpillar-shaped semiconductor layer, and a second dummy gate constitutedby the first polysilicon.
 21. The method for producing a semiconductordevice according to claim 20, further comprising, after depositing thefirst polysilicon on the second insulating film and planarizing thefirst polysilicon, forming a third insulating film on the firstpolysilicon.
 22. The method for producing a semiconductor deviceaccording to claim 20, the method comprising a third step of, after thesecond step, forming a fourth insulating film around the firstpillar-shaped semiconductor layer, the second pillar-shapedsemiconductor layer, the first dummy gate, and the second dummy gate,depositing a second polysilicon around the fourth insulating film, andforming a third dummy gate and a fourth dummy gate by etching the secondpolysilicon so that the second polysilicon is left on side walls of thefirst dummy gate, the first pillar-shaped semiconductor layer, thesecond dummy gate, and the second pillar-shaped semiconductor layer. 23.The method for producing a semiconductor device according to claim 22,the method comprising a fourth step of forming a second diffusion layerin an upper portion of the fin-shaped semiconductor layer and lowerportions of the first pillar-shaped semiconductor layer and the secondpillar-shaped semiconductor layer, forming a fifth insulating filmaround the third dummy gate and the fourth dummy gate, etching the fifthinsulating film to make the fifth insulating film remain as a side wall,and forming a metal and semiconductor compound in an upper portion ofthe second diffusion layer.
 24. The method for producing a semiconductordevice according to claim 23, the method comprising a fifth step of,after the fourth step, depositing an interlayer insulating film,performing chemical mechanical polishing to expose upper portions of thefirst dummy gate, the second dummy gate, the third dummy gate, and thefourth dummy gate, removing the first dummy gate, the second dummy gate,the third dummy gate, and the fourth dummy gate, removing the secondinsulating film and the fourth insulating film, forming a gateinsulating film around the first pillar-shaped semiconductor layer andthe second pillar-shaped semiconductor layer and on an inner side of thefifth insulating film, forming a third resist for removing a portion ofthe gate insulating film located in a periphery of a bottom portion ofthe second pillar-shaped semiconductor layer, removing the portion ofthe gate insulating film located in the periphery of the bottom portionof the second pillar-shaped semiconductor layer, and depositing a firstmetal and etching back the first metal to expose an upper portion of thefirst pillar-shaped semiconductor layer and an upper portion of thesecond pillar-shaped semiconductor layer, to form a gate electrode and agate line around the first pillar-shaped semiconductor layer, and toform a contact electrode and a contact line around the secondpillar-shaped semiconductor layer.